<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<jsp:include page="checkAdmin.jsp" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <link href="css/style.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="js/jquery-2.0.js"></script>
	<script type="text/javascript">
		$(function(){
			
			var message = "${message}"; //接受服务器参数
			if(message.length>0){
				alert(message);
			}
			
		});
	</script>

 </head>

<body>

<div id="loading" style="font-size:14px;"></div>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="index.jsp">首页</a></li>
    <li><a href="student-list.action">考生管理</a></li>
    <li><a href="#">修改考生信息</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    <div class="formtitle"><span>修改考生信息</span></div>
	   <form action="student-update.action" method="post" >
	    <input type="hidden" name="db_user" value="${sessionScope.admin }"/>
	    <ul class="forminfo">
	    <li><p style="color:red" class="stu_error">${fieldErrors.stu_name[0] }</p></li>
	    <li><label>考生学号</label><input type="text" name="stu_id" readonly="readonly"  value="<s:property value="stu_id"/>"  class="dfinput" /><i>学号禁止修改</i></li>
	    <li><label>考生姓名</label><input type="text" name="stu_name"  value="<s:property value="stu_name"/>"  class="dfinput"/><i>姓名不能超过20个字符</i></li>
	    <li><label>所在班级</label><input type="text" name="stu_class"  value="<s:property value="stu_class"/>"  class="dfinput"/></li>
	    <li><label>&nbsp;</label><input type="submit" class="btn" value="确认保存"/></li>
	    </ul>
	   </form>
    
    </div>
</body>
</html>
